
Imports storcore

Public Class nodeserver
    Inherits storserver

    Protected Overrides Function serverport() As Int32
        Return config.parameter(Of Int32)(configNaming.stornode.name, configNaming.stornode.port, _
                                          configNaming.stornode.defaultValue.port)
    End Function

    Public Sub New()
        MyBase.New()
        slices = slicemgr
        server.maxConnCount = config.parameter(configNaming.stornode.name, _
                                               configNaming.stornode.connectionCount, _
                                               configNaming.stornode.defaultValue.connectionCount)
        server.holdtime = config.parameter(configNaming.stornode.name, _
                                           configNaming.stornode.talkHoldtime, _
                                           configNaming.stornode.defaultValue.talkHoldtime)
        server.livetime = config.parameter(configNaming.stornode.name, _
                                           configNaming.stornode.talkLivetime, _
                                           configNaming.stornode.defaultValue.talkLivetime)
    End Sub
End Class
